home *** CD-ROM | disk | FTP | other *** search
- .key cmd
- .bra {
- .ket }
- ; $VER: find_rush 37.1 (13.4.93)
- ;
- ; Bring Rush to the front if running, if not run another copy.
- ; This script takes one optional argument, the command to run,
- ; this is needed because status shows the command with the entire
- ; path.
- ; If Rush is in you path, just execute "find_rush"
- ; if not execute "find_path <full_rush_path>"
- ;
-
- if "{cmd}" eq ""
- set command "rush"
- else
- set command "{cmd}"
- endif
-
- status com=$command >env:rushprocess
-
- if "$rushprocess" eq ""
- run >nil: <nil: $command
- else
- break $rushprocess f
- endif
-
- delete quiet env:rushprocess
-